﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
  <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
  <title>hResume 3 - education hCalendar and hCard</title>
  
  <!-- This will be replace with one CSS file and one JavaScipt file -->
  <link rel="stylesheet" href="../css/uftestsuite.css" type="text/css" />
  <link rel="stylesheet" href="../../testrunner/css/testrunner.css" type="text/css" />
  
  <script type="text/javascript" src="../../testrunner/javascript/prototype-1.6.0.2.js"></script> 
  <script type="text/javascript" src="../../testrunner/javascript/beautify.js"></script>
  <script type="application/javascript;version=1.7" src="http://svn.mozilla.org/labs/operator/chrome/operator/content/Microformats/Microformats.js"></script> 
  <script type="text/javascript" src="../../testrunner/javascript/testrunner.js"></script>
     
</head>
<body>
    
    <div class="test-fixture">
    
    <p>
    <a href="../"><img border="0" id="testsuite-image" alt="Microformats test suite" src="../images/testsuite.gif" /></a><br />
    </p>
    
    <h1 class="summary">hResume 4 - education hCalendar and hCard</h1>
    <p class="description">This page was design to test the use of both hCalendar and hCard properties to create an educational history item</p>
    <p>From: <a href="default.htm"><span class="format">hResume</span> test suite 1.0</a></p>
    <p class="author vcard">
        Author: <a class="url fn" href="http://www.glennjones.net/">Glenn Jones</a>
    </p>
    
    <p>Tests:</p>
    <table id="assetTable" cellpadding="0" cellspacing="0">
    <thead>
        <tr>
            <th>Test</th>
            <th>Result</th>
            <th>Comment</th>
        </tr>
    </thead>
    <tbody>
     
        
        <tr class="assert">
            <td class="test">hresume[0].education[0].summary</td>
            <td class="result">IsEqualTo("BA (Hons) 3d Design")</td>
            <td class="comment">The summary value from hCalendar</td>
        </tr>
        
         <tr class="assert">
            <td class="test">hresume[0].education[0].dtstart</td>
            <td class="result">IsEqualToISODate("1989")</td>
            <td class="comment">The dtstart value from hCalendar</td>
        </tr>

         <tr class="assert">
            <td class="test">hresume[0].education[0].dtend</td>
            <td class="result">IsEqualToISODate("1992")</td>
            <td class="comment">The dtend value from hCalendar</td>
        </tr>
        
        <tr class="assert">
            <td class="test">hresume[0].education[0].org[0].organization-name</td>
            <td class="result">IsEqualTo("University of Brighton")</td>
            <td class="comment">The org value from hCard</td>
        </tr>
        
        <tr class="assert">
            <td class="test">hresume[0].education[0].description</td>
            <td class="result">IsEqualTo("A mixed art degree which used traditional craft skills, such as woodwork and blacksmithing to create works of art.")</td>
            <td class="comment">The description value from hCalendar</td>
        </tr>    
        
        <tr class="assert">
            <td class="test">hresume[0].education[0].adr[0].locality</td>
            <td class="result">IsEqualTo("Brighton")</td>
            <td class="comment">The locality value from hCard address</td>
        </tr>
        
        

     </tbody>
    </table> 
    
    
    <p>History:</p>
    <ul>
	    <li class="history vevent">
	        <span class="summary">Created</span>: <abbr class="dtstart" title="2008-08-05">5 August 2008</abbr> 
	        <span class="description">by Glenn Jones</span>
	    </li>
        <li class="history vevent">
	        <span class="summary">Updated</span>: <abbr class="dtstart" title="2008-06-08">19 July 2010</abbr> 
	        <span class="description">by Glenn Jones - Corrected org with organization-name optimization</span>
	    </li>

    </ul>
    
    
    
    </div>
  
    <div id="uf">
    	<!-- This may not be the best semantic use of HTML element -->
    
        <div class="hresume">
        
            <div class="education vcard vevent">
            
            	<div class="summary">BA (Hons) 3d Design</div>
            	<span class="dtstart">1989</span> - <span class="dtend">1992</span>
          		<div class="fn org summary">
		            University of Brighton
            	</div>
    			<div class="description">A mixed art degree which used traditional craft skills, such as woodwork and blacksmithing to create works of art.</div>
            	
	            <div class="adr">
	                <div class="label">
	                    <span class="locality">Brighton</span>, 
	                    <span class="country-name">United Kingdom</span>
	                </div>
	            </div>
	           	            
            </div>
  
            
        </div>
        
        
    </div>
    
    <p>
        <a rel="license" href="../license.txt">Some rights reserved</a>
    </p>
      
</body>

</html>